package com.wwj.dao;

import com.wwj.pojo.User;

import java.util.List;
import java.util.Map;

public interface UserMapper {
    //根据ID查询用户
    User getUserById(int id);
    //分页
    List<User> getUserByLimit(Map<String,Integer> map);

    //分页2,使用RowBounds进行分页
    List<User> getUserByRowBounds();


}